package com.jnu.myllm.ui.vo;
// 结果数据结构：包括状态，注释和原本要传入的数据
public class Result {
    private int code;    // 状态
    private String msg;     // 信息
    private Object data;    // 数据
    public Result() {

    }
    public Result(int code, String msg, Object data) {
        this.code = code;
        this.msg = msg;
        this.data = data;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }
}
